package cn.wolfcode.luowowo.article.service.impl;

import cn.wolfcode.luowowo.article.domain.DestHotel;
import cn.wolfcode.luowowo.article.domain.Destination;
import cn.wolfcode.luowowo.article.mapper.DestHotelMapper;
import cn.wolfcode.luowowo.article.service.IDestHotelService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class DestHotelServiceImpl implements IDestHotelService {

    @Autowired
    private DestHotelMapper destHotelMapper;
    @Override
    public List<DestHotel> listByType(int type) {
        return destHotelMapper.listByType(type);
    }

    @Override
    public String selectById(Long id) {
        return destHotelMapper.selectById(id);
    }
}
